/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chatclient;

import java.util.ArrayList;
import java.util.HashMap;

/**
 *
 * @author NAMQUYUIT
 */
public interface IOnLoginListener {
    // Rise when Login fail
    public void onLoginFailed(String message);
    
    // Rise when Login Successfully
    public void onLoginSuccess(ArrayList<String> listUsers, HashMap<String, ArrayList<String>> listUnreadMessages);
    
    // Rise when has a new user joining to system
    public void onHasNewUser(String newUsername);
}
